PENextPrintWindowMagnification

Use PENextPrintWindowMagnification to change the preview window magnification to the next magnification level in sequence. Use this function to cycle through the three levels of preview window magnification (Full Page, Fit One Side, Fit Both Sides, Full Page, Fit One Side, etc.) whenever the report has been printed to a preview window.

C Syntax
BOOL CRPE_API PENextPrintWindowMagnification (
        short printJob );
Parameter

printJob

Specifies the print job displayed in the preview window for which you want to step the magnification level.

Returns
VB Syntax

VB Sample Code for Previewing a Report

Declare Function PENextPrintWindowMagnification Lib "crpe32.dll" (ByVal
    printJob As Integer ) As Integer
Delphi Syntax
function PENextPrintWindowMagnification (
    printJob: Word
    ): Bool stdcall;
dBASE for Windows Syntax

EXTERN CLOGICAL PENextPrintWindowMagnification (CWORD) CRPE.DLL



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com